// ------------------------------------------
// T.mock.StubMethod & T.mock.DisabledMethod
// ------------------------------------------

T.Mock.StubMethod = function( ) { };

T.Mock.DisabledMethod = function( name )
{
	return function( )
	{
		try { Assert.fail( "Method " + name + "( ) should not have been called." ); }
		catch( err ) { Test.Runner._handleError( err ); }
	};
};

T.Mock.Value = 
{
	instanceOf: function( expected )
	{
		return Mock.Value( function( elem ) { Assert.isInstanceOf( expected, elem ); } );
	}
};
